<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>我的积分</title>
    <link rel="stylesheet" href="__PUBLIC__/Home/css/personCenter/personInte.css">
  </head>
  <body>
    <div class="myinte">
      <p class="mytitle">我的退货订单列表</p>
      <!-- 退单列表 -->
      <table id="myhistory">
        <tr style="height:42px;">
          <th class="consumption">订单号</th>
          <th class="integral">订单状态</th>
          <th class="resson">退单原因</th>
          <th class="resson">处理意见</th>
          <th class="time">处理时间</th>
        </tr>
        <foreach name="list" item="val">
        <tr style="height:60px;">
          <td class="consumption" style="padding:0 10px 0 0 ">{$val.order_num}</td>
          <td class="integral"  style="padding:0 10px 0 0 ">{$val.order_status}</td>
          <td class="resson" style="padding:0 10px 0 0 ">{$val.reason}</td>
          <td class="resson" style="padding:0 10px 0 0 ">{$val.remark}</td>
          <td class="time" style="padding:0 10px 0 0 ">
            <!-- 判断如果是申请退单，单位处理，那么处理时间显示当前时间 -->
            <if condition="$val['handletime'] neq 	'1970-01-01 08:00:00'">
            {$val.handletime}
            <else /> {$val.nowtime}
            </if>
          </td>
        </tr>
        </foreach>
      </table>

    </div>
  </body>
  <script type="text/javascript">
      window.onload = function(){
        var mywidth=document.body.scrollHeight;
        console.log(mywidth);
        top.document.getElementById('show').innerHTML = mywidth;
        top.back();
      };
  </script>
</html>
